package com.huilian.iotbox.data.enums;

import lombok.Getter;

@Getter
public enum DeviceStatusEnum {
    OFF_LINE(0, "下架"),
    ON_LINE(1, "上架"),
    FAULT(2, "故障"),
    NON_ACTIVATED(3, "未激活"),
    UNBIND(4, "解绑"),
    MAINTAIN(5,"维修替换")
    ;

    private Integer code;
    private String desc;

    DeviceStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
